package com.yellow.cloud.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yellowframework.cloud.domain.system.LoginLog;
import com.yellowframework.cloud.domain.system.ext.LoginLogExt;
import com.yellowframework.cloud.domain.system.request.QueryLoginLogRequest;

import java.util.List;

public interface SysLoginLogMapper extends BaseMapper<LoginLog> {

    List<LoginLogExt> findList(QueryLoginLogRequest request);

    /**
     * 删除一年前的登录日志
     * @return
     * @author zhouhao
     * @date  2021/4/23 15:47
     */
    Integer deleteLoginLog();
}